const crypto/cipher.gcmBlockSize
15 uses
crypto/cipher (current package)
gcm.go#L113: if tagSize < gcmMinimumTagSize || tagSize > gcmBlockSize {
gcm.go#L125: if cipher.BlockSize() != gcmBlockSize {
gcm.go#L129: var key [gcmBlockSize]byte
gcm.go#L154: gcmBlockSize = 16
gcm.go#L181: var counter, tagMask [gcmBlockSize]byte
gcm.go#L218: var counter, tagMask [gcmBlockSize]byte
gcm.go#L329: blocks = blocks[gcmBlockSize:]
gcm.go#L340: var partialBlock [gcmBlockSize]byte
gcm.go#L369: func (g *gcm) counterCrypt(out, in []byte, counter *[gcmBlockSize]byte) {
gcm.go#L370: var mask [gcmBlockSize]byte
gcm.go#L372: for len(in) >= gcmBlockSize {
gcm.go#L377: out = out[gcmBlockSize:]
gcm.go#L378: in = in[gcmBlockSize:]
gcm.go#L391: func (g *gcm) deriveCounter(counter *[gcmBlockSize]byte, nonce []byte) {
gcm.go#L400: counter[gcmBlockSize-1] = 1
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |